package com.itheima.dao;

import com.itheima.pojo.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface MemberDao {

    void insert(Member member);

    @Select("select * from t_member where phoneNumber = #{telephone}")
    Member getByTelephone(String telephone);
}
